package com.cmc.cloud.cmclink.doc.api.document.req.so.sovo.sovo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 管理后台 - 订舱取消  VO
 *
 * @author cz
 * @date 2025/09/14 11:25
 */
@Schema(description = "管理后台 - 订舱 UpdateReqonse create VO")
@Data
@ToString(callSuper = true)
@Valid
public class SoCancelReqVo {

    @Schema(description = "订舱已确认后取消soId")
    @NotNull(message = "{soamendapply.soid.notnull}")
    private Long soId;
    @Schema(description = "订舱已确认后取消申请理由")
    @Length(max = 255, message = "{soamendapply.applyreason.length}")
    private String applyReason;
}
